home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1995 May / PC Direct CD-ROM (May 1995).ISO / ipe / bri120e / disk1 / lib4esd.lib / CPFS.SCR < prev    next >
Encoding:
Text File  |  1994-01-17  |  809 b   |  16 lines

  1. ;This script copies the users' config.sys, autoexec.bat and net.cfg to 
  2. ; their user directory.  
  3. DEFINE "NAME" STRING
  4. STRCOPY    NAME "F:\USERS"
  5. APPENDPATH NAME [LOGINNAME]
  6. ; These lines build the path to the users' own directory. Replace "users"
  7. ; with the appropriate directory for your network.  The variable "Name" 
  8. ; is equal to "\users\[loginname]".
  9. COPY [BOOT_ROOT] "CONFIG.SYS" NAME "CONFIG.SYS"
  10. COPY [BOOT_ROOT] "AUTOEXEC.BAT" NAME "AUTOEXEC.BAT"
  11. COPY [NETCFG] "NET.CFG" NAME "NET.CFG"
  12. ; These lines copy the files from the users' workstations to their
  13. ; user directory on the network.  To copy other system files, such as the
  14. ; win.ini, replace the first parameter with the appropriate variable, such 
  15. ; as [windir] and the second and fourth parameter  with the appropriate 
  16. ; filename.